package com.lvtu.monitor.module.web.ngxlog.po;

import java.io.Serializable;

/** 
 * @Title: ApiAbnormalLogInfo.java 
 * @Package com.lvtu.monitor.module.web.ngxlog.po 
 * @Description: 不正常日志对象 
 * @author lvzimin 
 * @date 2015年6月4日 上午11:16:27 
 * @version V1.0.0 
 */
public class ApiAbnormalLogInfo implements Serializable {
	
	private static final long serialVersionUID = 6475914525348188987L;

	/**
	 * 客户端IP地址(remoteAddr)
	 */
	private String ip;

	/**
	 * 通用日志格式下的本地时间(timeLocal)
	 */
	private long time;

	/**
	 * 客户端请求的域名(httpHost)
	 */
	private String host;

	/**
	 * 状态码
	 */
	private int status;

	/**
	 * 发送给客户端的总字节数(bodyBytesSent)
	 */
	private int bytes;

	/**
	 * http请求端的真正IP(httpXforwardedFor)
	 */
	private String xfor;

	/**
	 * 客户端浏览器相关信息(httpUserAgent)
	 */
	private String ua;

	/**
	 * 请求响应时间(单位:秒)(requestTime)
	 */
	private float cost;

	/**
	 * http方法(GET,POST)(httpMethod)
	 */
	private String hm;

	/**
	 * 请求uri(requestUri)
	 */
	private String uri;

	/**
	 * 请求url(包含参数)
	 */
	private String url;
	
	/**
	 * 接口方法
	 */
	private String method;
	
	/**
	 * 接口版本
	 */
	private String version;
	
	/**
	 * 客户端token
	 */
	private String token;
	
	/**
	 * lvsessionId
	 */
	private String lvsessionId;
	
	/**
	 * 客户端设备号
	 */
	private String udid;
	
	/**
	 * 客户端操作系统版本
	 */
	private String osVersion;
	
	/**
	 * 设备名称
	 */
	private String deviceName;
	
	/**
	 * 第一渠道
	 */
	private String firstChannel;
	
	/**
	 * 第二渠道
	 */
	private String secondChannel;
	
	/**
	 * app版本号
	 */
	private String lvversion;
	
	/**
	 * 设备纬度
	 */
	private String latitude;
	
	/**
	 * 设备经度
	 */
	private String longitude;
	
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getBytes() {
		return bytes;
	}

	public void setBytes(int bytes) {
		this.bytes = bytes;
	}

	public String getXfor() {
		return xfor;
	}

	public void setXfor(String xfor) {
		this.xfor = xfor;
	}

	public String getUa() {
		return ua;
	}

	public void setUa(String ua) {
		this.ua = ua;
	}

	public float getCost() {
		return cost;
	}

	public void setCost(float cost) {
		this.cost = cost;
	}

	public String getHm() {
		return hm;
	}

	public void setHm(String hm) {
		this.hm = hm;
	}

	public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getLvsessionId() {
		return lvsessionId;
	}

	public void setLvsessionId(String lvsessionId) {
		this.lvsessionId = lvsessionId;
	}

	public String getUdid() {
		return udid;
	}

	public void setUdid(String udid) {
		this.udid = udid;
	}

	public String getOsVersion() {
		return osVersion;
	}

	public void setOsVersion(String osVersion) {
		this.osVersion = osVersion;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getFirstChannel() {
		return firstChannel;
	}

	public void setFirstChannel(String firstChannel) {
		this.firstChannel = firstChannel;
	}

	public String getSecondChannel() {
		return secondChannel;
	}

	public void setSecondChannel(String secondChannel) {
		this.secondChannel = secondChannel;
	}

	public String getLvversion() {
		return lvversion;
	}

	public void setLvversion(String lvversion) {
		this.lvversion = lvversion;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	
}
